package com.glodon.ggzy.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfContract entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_CONTRACT")
public class GgZfContract implements java.io.Serializable {

	// Fields    

	private String id;

	private String contracthid;

	private String contractcode;

	private String contractname;

	private String buyerid;

	private String buyername;

	private String content;

	private String sellerid;

	private String sellername;

	private String projid;

	private String projhid;

	private String projname;

	private String implid;

	private String implhid;

	private Double contractsum;

	private Timestamp sellersigntime;

	private String sellertel;

	private String sellerfax;

	private String selleraddress;

	private Timestamp buysigntime;

	private String buyertel;

	private String buyerfax;

	private String buyeraddress;

	private String contractkind;

	private String contracttype;

	private String contractimpltype;

	private String originalcontractid;

	private String originalcontracthid;

	private String attachrelaid;

	private String signdataattachid;

	private String createorgid;

	private String creator;

	private Timestamp createtime;

	private String changeorgid;

	private String changer;

	private Timestamp lasttime;

	private String remark;

	private String cancelreason;

	private String archivekind;

	private String status;

	// Constructors

	/** default constructor */
	public GgZfContract() {
	}

	/** full constructor */
	public GgZfContract(String contracthid, String contractcode, String contractname, String buyerid, String buyername, String content,
			String sellerid, String sellername, String projid, String projhid, String projname, String implid, String implhid, Double contractsum,
			Timestamp sellersigntime, String sellertel, String sellerfax, String selleraddress, Timestamp buysigntime, String buyertel,
			String buyerfax, String buyeraddress, String contractkind, String contracttype, String contractimpltype, String originalcontractid,
			String originalcontracthid, String attachrelaid, String signdataattachid, String createorgid, String creator, Timestamp createtime,
			String changeorgid, String changer, Timestamp lasttime, String remark, String cancelreason, String archivekind, String status) {
		this.contracthid = contracthid;
		this.contractcode = contractcode;
		this.contractname = contractname;
		this.buyerid = buyerid;
		this.buyername = buyername;
		this.content = content;
		this.sellerid = sellerid;
		this.sellername = sellername;
		this.projid = projid;
		this.projhid = projhid;
		this.projname = projname;
		this.implid = implid;
		this.implhid = implhid;
		this.contractsum = contractsum;
		this.sellersigntime = sellersigntime;
		this.sellertel = sellertel;
		this.sellerfax = sellerfax;
		this.selleraddress = selleraddress;
		this.buysigntime = buysigntime;
		this.buyertel = buyertel;
		this.buyerfax = buyerfax;
		this.buyeraddress = buyeraddress;
		this.contractkind = contractkind;
		this.contracttype = contracttype;
		this.contractimpltype = contractimpltype;
		this.originalcontractid = originalcontractid;
		this.originalcontracthid = originalcontracthid;
		this.attachrelaid = attachrelaid;
		this.signdataattachid = signdataattachid;
		this.createorgid = createorgid;
		this.creator = creator;
		this.createtime = createtime;
		this.changeorgid = changeorgid;
		this.changer = changer;
		this.lasttime = lasttime;
		this.remark = remark;
		this.cancelreason = cancelreason;
		this.archivekind = archivekind;
		this.status = status;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "CONTRACTHID", length = 100)
	public String getContracthid() {
		return this.contracthid;
	}

	public void setContracthid(String contracthid) {
		this.contracthid = contracthid;
	}

	@Column(name = "CONTRACTCODE", length = 80)
	public String getContractcode() {
		return this.contractcode;
	}

	public void setContractcode(String contractcode) {
		this.contractcode = contractcode;
	}

	@Column(name = "CONTRACTNAME", length = 80)
	public String getContractname() {
		return this.contractname;
	}

	public void setContractname(String contractname) {
		this.contractname = contractname;
	}

	@Column(name = "BUYERID", length = 100)
	public String getBuyerid() {
		return this.buyerid;
	}

	public void setBuyerid(String buyerid) {
		this.buyerid = buyerid;
	}

	@Column(name = "BUYERNAME", length = 80)
	public String getBuyername() {
		return this.buyername;
	}

	public void setBuyername(String buyername) {
		this.buyername = buyername;
	}

	@Column(name = "CONTENT", length = 500)
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "SELLERID", length = 100)
	public String getSellerid() {
		return this.sellerid;
	}

	public void setSellerid(String sellerid) {
		this.sellerid = sellerid;
	}

	@Column(name = "SELLERNAME", length = 80)
	public String getSellername() {
		return this.sellername;
	}

	public void setSellername(String sellername) {
		this.sellername = sellername;
	}

	@Column(name = "PROJID", length = 100)
	public String getProjid() {
		return this.projid;
	}

	public void setProjid(String projid) {
		this.projid = projid;
	}

	@Column(name = "PROJHID", length = 100)
	public String getProjhid() {
		return this.projhid;
	}

	public void setProjhid(String projhid) {
		this.projhid = projhid;
	}

	@Column(name = "PROJNAME", length = 80)
	public String getProjname() {
		return this.projname;
	}

	public void setProjname(String projname) {
		this.projname = projname;
	}

	@Column(name = "IMPLID", length = 100)
	public String getImplid() {
		return this.implid;
	}

	public void setImplid(String implid) {
		this.implid = implid;
	}

	@Column(name = "IMPLHID", length = 100)
	public String getImplhid() {
		return this.implhid;
	}

	public void setImplhid(String implhid) {
		this.implhid = implhid;
	}

	@Column(name = "CONTRACTSUM", precision = 30, scale = 10)
	public Double getContractsum() {
		return this.contractsum;
	}

	public void setContractsum(Double contractsum) {
		this.contractsum = contractsum;
	}

	@Column(name = "SELLERSIGNTIME", length = 7)
	public Timestamp getSellersigntime() {
		return this.sellersigntime;
	}

	public void setSellersigntime(Timestamp sellersigntime) {
		this.sellersigntime = sellersigntime;
	}

	@Column(name = "SELLERTEL", length = 80)
	public String getSellertel() {
		return this.sellertel;
	}

	public void setSellertel(String sellertel) {
		this.sellertel = sellertel;
	}

	@Column(name = "SELLERFAX", length = 80)
	public String getSellerfax() {
		return this.sellerfax;
	}

	public void setSellerfax(String sellerfax) {
		this.sellerfax = sellerfax;
	}

	@Column(name = "SELLERADDRESS", length = 100)
	public String getSelleraddress() {
		return this.selleraddress;
	}

	public void setSelleraddress(String selleraddress) {
		this.selleraddress = selleraddress;
	}

	@Column(name = "BUYSIGNTIME", length = 7)
	public Timestamp getBuysigntime() {
		return this.buysigntime;
	}

	public void setBuysigntime(Timestamp buysigntime) {
		this.buysigntime = buysigntime;
	}

	@Column(name = "BUYERTEL", length = 80)
	public String getBuyertel() {
		return this.buyertel;
	}

	public void setBuyertel(String buyertel) {
		this.buyertel = buyertel;
	}

	@Column(name = "BUYERFAX", length = 80)
	public String getBuyerfax() {
		return this.buyerfax;
	}

	public void setBuyerfax(String buyerfax) {
		this.buyerfax = buyerfax;
	}

	@Column(name = "BUYERADDRESS", length = 100)
	public String getBuyeraddress() {
		return this.buyeraddress;
	}

	public void setBuyeraddress(String buyeraddress) {
		this.buyeraddress = buyeraddress;
	}

	@Column(name = "CONTRACTKIND", length = 80)
	public String getContractkind() {
		return this.contractkind;
	}

	public void setContractkind(String contractkind) {
		this.contractkind = contractkind;
	}

	@Column(name = "CONTRACTTYPE", length = 80)
	public String getContracttype() {
		return this.contracttype;
	}

	public void setContracttype(String contracttype) {
		this.contracttype = contracttype;
	}

	@Column(name = "CONTRACTIMPLTYPE", length = 80)
	public String getContractimpltype() {
		return this.contractimpltype;
	}

	public void setContractimpltype(String contractimpltype) {
		this.contractimpltype = contractimpltype;
	}

	@Column(name = "ORIGINALCONTRACTID", length = 100)
	public String getOriginalcontractid() {
		return this.originalcontractid;
	}

	public void setOriginalcontractid(String originalcontractid) {
		this.originalcontractid = originalcontractid;
	}

	@Column(name = "ORIGINALCONTRACTHID", length = 100)
	public String getOriginalcontracthid() {
		return this.originalcontracthid;
	}

	public void setOriginalcontracthid(String originalcontracthid) {
		this.originalcontracthid = originalcontracthid;
	}

	@Column(name = "ATTACHRELAID", length = 100)
	public String getAttachrelaid() {
		return this.attachrelaid;
	}

	public void setAttachrelaid(String attachrelaid) {
		this.attachrelaid = attachrelaid;
	}

	@Column(name = "SIGNDATAATTACHID", length = 100)
	public String getSigndataattachid() {
		return this.signdataattachid;
	}

	public void setSigndataattachid(String signdataattachid) {
		this.signdataattachid = signdataattachid;
	}

	@Column(name = "CREATEORGID", length = 100)
	public String getCreateorgid() {
		return this.createorgid;
	}

	public void setCreateorgid(String createorgid) {
		this.createorgid = createorgid;
	}

	@Column(name = "CREATOR", length = 100)
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATETIME", length = 7)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "CHANGEORGID", length = 100)
	public String getChangeorgid() {
		return this.changeorgid;
	}

	public void setChangeorgid(String changeorgid) {
		this.changeorgid = changeorgid;
	}

	@Column(name = "CHANGER", length = 100)
	public String getChanger() {
		return this.changer;
	}

	public void setChanger(String changer) {
		this.changer = changer;
	}

	@Column(name = "LASTTIME", length = 7)
	public Timestamp getLasttime() {
		return this.lasttime;
	}

	public void setLasttime(Timestamp lasttime) {
		this.lasttime = lasttime;
	}

	@Column(name = "REMARK", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "CANCELREASON", length = 500)
	public String getCancelreason() {
		return this.cancelreason;
	}

	public void setCancelreason(String cancelreason) {
		this.cancelreason = cancelreason;
	}

	@Column(name = "ARCHIVEKIND", length = 80)
	public String getArchivekind() {
		return this.archivekind;
	}

	public void setArchivekind(String archivekind) {
		this.archivekind = archivekind;
	}

	@Column(name = "STATUS", length = 80)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
